import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/**
 * @author: xinmi
 * @date: 2020/11/13
 * @description:
 */
public class MapAdd {

    public static void main(String[] args){
        List<Map<String,String>> listRecord = new ArrayList<Map<String, String>>();


        LinkedHashMap<String,String> m =
                new LinkedHashMap<String, String>();
        m.put("company_name" , "东莞巴士");
        m.put("annual_total_vehicle" , "5141.0");
        m.put("operation_year" , "2020");
        m.put("total_vehicle" , "5141.0");

        listRecord.add(m);

        for (Map<String, String> stringObjectMap : listRecord) {
            stringObjectMap.put("test","test");
        }

        System.out.printf(listRecord.toString());

    }
}
